home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / hugstr / readme.txt < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.6 KB  |  36 lines

  1. This is minimal documentation.  I barely had time to give you this since 
  2. I have my own project deadlines, but since I got the original code from 
  3. Compuserve it is only fair that I return something back.  Here it is.
  4.  
  5. This code only works in Windows 3.1, because the function hmemcpy is new 
  6. to 3.1.
  7.  
  8. For those that need to build large strings greater than the 64k barrier.  
  9. This is for you.  The file hstrcat.c is the home of additional source 
  10. code for the newly modified HUGEARR.DLL.  There are also changes to the 
  11. ".h" files too (function prototypes of course).  Also the ".def" file 
  12. reflects the new functions.
  13.  
  14. This DLL was built with QuickC for windows and the C700 libraries.
  15.  
  16. In SQL_SRV.BAS (this code has not been cleaned up) is the function 
  17. prototypes for visual basic and a sample code segment for the VB grid 
  18. control.  This code can be used to build a huge string to be copied to 
  19. the clipboard and pasted into the clipboard.  See the sample code of how 
  20. to hand it off to the clipboard from VB.  Building the data in this 
  21. format will allow you to paste the data directly into Excel.
  22.  
  23. SEE THIS VB USERS.
  24. A visual basic project file is there too as a demo.  See huge_tst.mak.
  25.  
  26. VBHugeLock is used because GlobalLock doesn't return the segment part 
  27. unless it is cast to a huge pointer.  See Petzold for a full 
  28. description.  VBHugeStrEnd finds the end of the NULL terminated string 
  29. after a GlobalRealloc occurs.  VBHugeStrCat works like strcat in C, 
  30. except you pass it a huge pointer and it uses hmemcpy.  Notice the 
  31. return value is a huge pointer to the newly concatenated string
  32.  
  33. Steve Seale        76100,2755
  34.                     713-584-3009
  35.  
  36.